package com.ezhuan.users.pojo;

import java.util.Date;

import com.ezhuan.common.pojo.BasePojo;
import com.ezhuan.system.pojo.ARegion;

public class AUsers extends BasePojo<AUsers>
{	
	
	private String imei ;
	private int parentId;
	private int secParentId;
	private int regionId;
	private int ipRegionId;
	private int phoneRegionId;
	private String phone;
	private String email;
	private String password;
	private String nickName;
	private double accuMoney;
	private double money;
	private int totalIntegral;
	private double todayMoney;
	private double drawMoney ; 
	private double drawSecMoney; 
	private String photoPath;
	private String invitationCode;
	private String phoneLocation;
	private String ipLocation;
	private int level;
	private String regIp;
	private byte status;
	private Date createTime;
	private Date updateTime;
	private Date lastLoginTime;

	/* 字符串描述 */
	/* 用户填写的邀请码 */
	private String invitationCodeStr;

	/* 关联对象 */
	private ARegion regionObject;
	private ARegion phoneRegionObject; 
	private ARegion ipRegionObject ; 
	private AUsers parentUsersObject ;
	private AUsers secParentUsersObject ; 
	
	public int getParentId()
	{
		return parentId;
	}

	public void setParentId(int parentId)
	{
		this.parentId = parentId;
	}

	public String getEmail()
	{
		return email;
	}

	public void setEmail(String email)
	{
		this.email = email;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getNickName()
	{
		return nickName;
	}

	public void setNickName(String nickName)
	{
		this.nickName = nickName;
	}

	public double getMoney()
	{
		return money;
	}

	public void setMoney(double money)
	{
		this.money = money;
	}

	public double getTodayMoney()
	{
		return todayMoney;
	}

	public void setTodayMoney(double todayMoney)
	{
		this.todayMoney = todayMoney;
	}

	public String getPhotoPath()
	{
		return photoPath;
	}

	public void setPhotoPath(String photoPath)
	{
		this.photoPath = photoPath;
	}

	public String getInvitationCode()
	{
		return invitationCode;
	}

	public void setInvitationCode(String invitationCode)
	{
		this.invitationCode = invitationCode;
	}

	public int getLevel()
	{
		return level;
	}

	public void setLevel(int level)
	{
		this.level = level;
	}

	public byte getStatus()
	{
		return status;
	}

	public void setStatus(byte status)
	{
		this.status = status;
	}

	public Date getCreateTime()
	{
		return createTime;
	}

	public void setCreateTime(Date createTime)
	{
		this.createTime = createTime;
	}

	public Date getUpdateTime()
	{
		return updateTime;
	}

	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}

	public Date getLastLoginTime()
	{
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime)
	{
		this.lastLoginTime = lastLoginTime;
	}

	public double getAccuMoney()
	{
		return accuMoney;
	}

	public void setAccuMoney(double accuMoney)
	{
		this.accuMoney = accuMoney;
	}

	public int getRegionId()
	{
		return regionId;
	}

	public void setRegionId(int regionId)
	{
		this.regionId = regionId;
	}

	public String getPhone()
	{
		return phone;
	}

	public void setPhone(String phone)
	{
		this.phone = phone;
	}

	public String getRegIp()
	{
		return regIp;
	}

	public void setRegIp(String regIp)
	{
		this.regIp = regIp;
	}

	public ARegion getRegionObject()
	{
		return regionObject;
	}

	public void setRegionObject(ARegion regionObject)
	{
		this.regionObject = regionObject;
	}

	@Override
	public String getTableName()
	{
		return "a_users";
	}

	public String getInvitationCodeStr()
	{
		return invitationCodeStr;
	}

	public void setInvitationCodeStr(String invitationCodeStr)
	{
		this.invitationCodeStr = invitationCodeStr;
	}

	public int getTotalIntegral()
	{
		return totalIntegral;
	}

	public void setTotalIntegral(int totalIntegral)
	{
		this.totalIntegral = totalIntegral;
	}

	public int getSecParentId()
	{
		return secParentId;
	}

	public void setSecParentId(int secParentId)
	{
		this.secParentId = secParentId;
	}

	public int getIpRegionId()
	{
		return ipRegionId;
	}

	public void setIpRegionId(int ipRegionId)
	{
		this.ipRegionId = ipRegionId;
	}

	public int getPhoneRegionId()
	{
		return phoneRegionId;
	}

	public void setPhoneRegionId(int phoneRegionId)
	{
		this.phoneRegionId = phoneRegionId;
	}

	public String getPhoneLocation()
	{
		return phoneLocation;
	}

	public void setPhoneLocation(String phoneLocation)
	{
		this.phoneLocation = phoneLocation;
	}

	public String getIpLocation()
	{
		return ipLocation;
	}

	public void setIpLocation(String ipLocation)
	{
		this.ipLocation = ipLocation;
	}

	public ARegion getPhoneRegionObject()
	{
		return phoneRegionObject;
	}

	public void setPhoneRegionObject(ARegion phoneRegionObject)
	{
		this.phoneRegionObject = phoneRegionObject;
	}

	public ARegion getIpRegionObject()
	{
		return ipRegionObject;
	}

	public void setIpRegionObject(ARegion ipRegionObject)
	{
		this.ipRegionObject = ipRegionObject;
	}
	public String getImei()
	{
		return imei;
	}

	public void setImei(String imei)
	{
		this.imei = imei;
	}

	public AUsers getParentUsersObject()
	{
		return parentUsersObject;
	}

	public void setParentUsersObject(AUsers parentUsersObject)
	{
		this.parentUsersObject = parentUsersObject;
	}

	public AUsers getSecParentUsersObject()
	{
		return secParentUsersObject;
	}

	public void setSecParentUsersObject(AUsers secParentUsersObject)
	{
		this.secParentUsersObject = secParentUsersObject;
	}

	public double getDrawMoney()
	{
		return drawMoney;
	}

	public void setDrawMoney(double drawMoney)
	{
		this.drawMoney = drawMoney;
	}

	public double getDrawSecMoney()
	{
		return drawSecMoney;
	}

	public void setDrawSecMoney(double drawSecMoney)
	{
		this.drawSecMoney = drawSecMoney;
	}

}
